Skip to content

Fix: MCL_Version print correct Version#293

Open
solara404 wants to merge 3 commits into
CTO_firmwarefrom
mcl_version_288
Open

Fix: MCL_Version print correct Version#293
solara404 wants to merge 3 commits into
CTO_firmwarefrom
mcl_version_288

Conversation

@solara404

Copy link
Copy Markdown
Collaborator

Fix: #288

Depends on: #284

Comment thread build.zig Outdated
const imports: []const std.Build.Module.Import = &.{
.{ .name = "build.zig.zon", .module = build_zig_zon },
.{ .name = "chrono", .module = chrono.module("chrono") },
.{ .name = "mmc_api", .module = mmc_api.module("mmc-api") },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. Read the lines below that it is added.

main mod requires working mdfunc mod, test mod requires mdfunc_mock mod

Comment thread src/command/mcl.zig
std.log.info("CC-Link Version: {d}.{d}.{d}\n", .{
mmc_api.cclink.version.major,
mmc_api.cclink.version.minor,
mmc_api.cclink.version.patch,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also wrong. This is John's CCLink. The CTO firmware is inside mmc_api.mcl, but I do not think there is a version there. You can asks to CTO what version is the current firmware so we can match his version

@aaumar25

Copy link
Copy Markdown
Member

Also, can you add on the CI file to execute the test when targetting to CTO_firmware as well? You can take a look into the workflows folder inside the .github folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants